﻿using BasehInfoManagerModel;
using BasehInfoManagerViewModel.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BasehInfoManagerViewModel;


namespace BasehInfoManager_IDal
{
    //用户接口
  public   interface IAdminUserDal
    {
       //显示分页
        PagerResult<AdminUser> SearchPage(SearchModel searchModel);



        //角色添加
        bool AdminUserAdd(AdminUserView view);
        //反填查找用户

        AdminUser GetAdminUserByUserName(string userName);

        //反填查找角色
        AdminUserView GetAdminUserViewByUserName(string userName);


        //修改
        bool AdminUserUpdate(AdminUserView view);

        //修改密码
        int AdminUserPwdUpdate(string userName, string Npwd);
    }
}
